package com.quanyan.place.wrapper;

import com.quanyan.api.APIResponse;
import com.quanyan.common.Plugin.PageObj;
import com.quanyan.place.entity.TbBizPlaceFinanceAudit;
import com.quanyan.place.entity.vo.PlaceFinanceAuditVo;
import com.quanyan.place.entity.vo.ReqFinanceAudit;
import com.quanyan.place.entity.vo.ReqFinanceAuditSearch;

import java.util.List;

/**
 * Created by yangyun on 2017/5/8.
 */
public interface FinanceWrapper {

    /**
     * 一级审核
     * @param reqFinanceAudit
     */
    APIResponse executeFirstAudit(ReqFinanceAudit reqFinanceAudit, TbBizPlaceFinanceAudit tbBizPlaceFinanceAudit);

    /**
     * 获取审核列表
     * @param reqSearch
     * @return
     */
    PageObj<List<PlaceFinanceAuditVo>> getPlaceFinanceAuditList(ReqFinanceAuditSearch reqSearch);

    /**
     * 根据ID获取审核记录
     *
     * @param id
     * @return
     */
    TbBizPlaceFinanceAudit getPlaceFinanceAudit(Integer id);

    APIResponse validAuditInfo(ReqFinanceAudit reqFinanceAudit);


}
